﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommodityTransferAPI.Model
{
    /// <summary>
    /// 城市物流设置实体类
    /// </summary>
    public class CityLogisticsSettings : CityLogisticsSettingsDb
    {
        /// <summary>
        /// 发货城市
        /// </summary>
        public string ShipCity { get; set; }
        /// <summary>
        /// 收货城市
        /// </summary>
        public string ReceivingCity { get; set; }

    }

    /// <summary>
    /// 保存城市物流天数对应修改实体
    /// </summary>
    public class CityLogisticsSettingsSave
    {
        /// <summary>
        /// 新物流天数
        /// </summary>
        public int LogisticsDays { get; set; }
        /// <summary>
        /// 要修改的数据列表
        /// </summary>
        public List<CityLogisticsSettings> CheckedList { get; set; }
    }

    /// <summary>
    /// 城市物流设置db实体类
    /// </summary>
    public class CityLogisticsSettingsDb
    {
        /// <summary>
        /// 公司品牌
        /// </summary>
        public string ExtrSource { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        public string CompanyID { get; set; }
        /// <summary>
        /// 发货城市AreaID
        /// </summary>
        public string AreaIDBg { get; set; }
        /// <summary>
        /// 收货城市AreaID
        /// </summary>
        public string AreaIDEnd { get; set; }
        /// <summary>
        /// 物流天数
        /// </summary>
        public int TransDays { get; set; }
    }

}
